package com.colin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.colin.pojo.User;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author 刘昱江
 * 时间 2021/2/2
 */
public interface UserMapper extends BaseMapper<User> {
    @Select( "select * from user limit ${start},${end}")
    List<User> getList(Integer start, Integer end);
}
